package com.zbkj.common.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 小区分佣设置详情响应对象
 * </p>
 *
 * @author Caiyc
 * @since 2025-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommunityBrokerageDetailResponse对象", description="小区分佣设置详情响应对象")
public class MerchantBrokerageDetailResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

//    @ApiModelProperty(value = "所在小区")
//    private String community;
//
//    @ApiModelProperty(value = "排名分佣比例内容(格式：1:50,2:30,3:20)")
//    private String rankingScale;
//
//    @ApiModelProperty(value = "团长分佣比例")
//    private BigDecimal adminScale;
//
//    @ApiModelProperty(value = "经度")
//    private String longitude;
//
//    @ApiModelProperty(value = "纬度")
//    private String latitude;
//
//    @ApiModelProperty(value = "是否能选择")
//    private Boolean isCanSelect;
//
//    @ApiModelProperty(value = "区域设置ID（eb_brand_agent_region）")
//    private Integer agentRegionId;
//
//    @ApiModelProperty(value = "利润比（%）")
//    private BigDecimal scale;
//
//    @ApiModelProperty(value = "奖励份额（取多少个名次）")
//    private Integer prizeNum;
//
//    @ApiModelProperty(value = "统计周期(0:天，1：周，2：月，99：选择时间)")
//    private Integer cycle;
//
//    @ApiModelProperty(value = "周期开始时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    private Date startTime;
//
//    @ApiModelProperty(value = "周期结束时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    private Date endTime;


    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "状态（0：关闭，1：开启）")
    private Integer status;

    @ApiModelProperty(value = "分类佣金明细（格式：1:90.5,2:30）")
    private String categoryItems;

}
